package com.gt.quality.system.service;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;

/**
 * 万里悲秋常作客,百年多病独登台
 *
 * @author : makeJava
 */
public interface LocalDatabaseProxy {

    String getTablesAndComments(String databaseName);

    List<Map<String, Object>> executeSql(String sql) ;

    void coreSqlHandler(List<Map<String, Object>> resultList, ResultSet resultSet) throws SQLException;

    String getColumnsAndComments(String databaseName, String tableName);

    String getTableDdl(String databaseName, String tableNameStr);

    List<Map<String, Object>> executeSqlList(List<String> sqlList);
}
